package com.zmn.oms.common.vo;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * 类描述: 下拉列表
 *
 * @author liuying
 * @date 2018/12/06 3:29 PM
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class KVDict<T> implements Serializable {

    /**
     * key
     */
    private T value;

    /**
     * name
     */
    private String text;

    /**
     * 选中
     */
    private Boolean selected;

    /**
     * 禁用状态
     */
    private Boolean disabled = false;

    private T pid;

    private String pidText;

    private Integer type;

    /**
     * 扩展数据
     */
    private String ext1;

    /**
     * 扩展数据2
     */
    private String ext2;
}
